<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" %>
<%@include file="/quick/include/common.jsp"%>
<%@include file="/quick/include/globalScope.jsp"%>
  <head>
    <title><c:out value="${model.title}"/></title>
  </head>
  
<script type="text/javascript" src="<c:url value='/quick/scripts/global.js'/>"></script>
<div id='parent_info_html' style='display:none'>    
  <qc:detail rowName="parentRow" listName="parentData" cnum="4" accordFormat="Y" style="width:100%" purpose="parent"/>
</div>
<div id='parent_info_div'></div>
<script>
Ext.onReady(function(){
    var htmlDiv=Ext.get('parent_info_html').dom;
    var p = new Ext.Panel({
        title: '<c:out value='${model.parentTitle}'/>',
        collapsible:true,
        renderTo: 'parent_info_div',
        html:htmlDiv.innerHTML
    });
	  mainGrid.style.height=g_height-85-p.getFrameHeight();
    
    htmlDiv.innerHTML='';
});
</script>
	<c:if test="${not empty  model.appendMain or model.appendMain!=''}">    
	    <c:import url="${model.appendMain}" charEncoding="utf-8"/>
	</c:if>
	


<div id="table_html" style="display:none">
<c:import url="table.jsp" charEncoding="utf-8"/>
</div> 
<br>
<div align="center" id="title" clientHeight="0" offsetHeight=0 class="xtitleDiv"><h3><STRONG><c:out value='${model.title}'/></STRONG></h3></div>
<br>

 	<div id="window-win"></div>
	<div id="query-win"></div>
 	<div id="mainGrid" style="overflow: hidden; width: 100%; height: 85%;border:2px solid #999;margin:0px 0px;">
	</div>   
	 <qc:page queryParamName="queryParamName"/>
<div id="subWindow-win"  style='display:none'></div>
<div id='subTable_html' style='display:none'></div>
<div id='subTable_win' style='display:none' ></div>
</html>   
  